package com.qitmiaojie.service;

import com.qitmiaojie.controller.utils.Result;
import com.qitmiaojie.pojo.Health;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 *
 */
public interface HealthService extends IService<Health> {

    /***
    * @description 上报异常
    * @param health
    * @return
    * @author
    * @date
    */
    Result addHealth(Health health);
    /***
    * @description 根据userId查询
    *
    * @return
    * @author
    * @date
    */
    Result findPageById();

    /***
    * @description 查询确诊情况
    *
    * @return
    * @author
    * @date
    */
    Result getSourceData();

    Result getSourceDataTotal();
    /***
    * @description 分页查询
    * @param currentPage 当前页码 该接口固定查询10条
    * @return
    * @author
    * @date
    */
    Result listByPage(Integer currentPage);
    /***
    * @description 我已康复
    * @param id
    * @return
    * @author
    * @date
    */
    Result editRecovery(String id);
}
